package com.studyv3.test.mapper;

import com.studyv3.common.core.mapper.BaseMapperPlus;
import com.studyv3.test.domain.Products;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.studyv3.test.domain.vo.ProductsVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 侯杰
* @description 针对表【products(采购列表)】的数据库操作Mapper
* @createDate 2024-05-06 10:49:15
* @Entity com.studyv3.test.domain.Products
*/
public interface ProductsMapper extends BaseMapperPlus<ProductsMapper, Products, ProductsVo> {


    void batchInsert(@Param("list") List<Products> cachedDataList);

    @Select("SELECT warn_num FROM `lb_products`")
    List<Integer> yj();
}




